package com.san.metadata.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.san.metadata.dao.OperationLogDao;
import com.san.metadata.service.OperationLogService;

/**
 * 操作元日志服务实现类
 * @author xiangyz
 *
 */
@Service
public class OperationLogServiceImpl implements OperationLogService {
	
	@Autowired
	OperationLogDao operationLogMapper;

	@Override
	public Object getById(Long id) throws Exception {
		return operationLogMapper.getById(id);
	}

	@Override
	public int save(Object obj) throws Exception {
		return operationLogMapper.save(obj);
	}

	@Override
	public int doEdit(Object obj) throws Exception {
		return operationLogMapper.doEdit(obj);
	}

	@Override
	public int remove(Long id) throws Exception {
		return operationLogMapper.remove(id);
	}

	@Override
	public int batchRemove(Long[] ids) throws Exception {
		return operationLogMapper.batchRemove(ids);
	}

}
